package anaydis.animation.model;

import java.util.List;
import java.util.ArrayList;

public abstract class SortDataModel
{
    public abstract List<Integer> create(final int size);

    protected List<Integer> initializeEmptyList(final int size)
    {
        final List<Integer> list = new ArrayList<Integer>(size);

        for (int i = 0; i < size; i++) {
            list.add(null);
        }

        return list;
    }
}
